<div class="feed-item seed-underline" *ngFor="let feed of feeds">
  <div class="feed-header seed-flexbox seed-flexbox-align-center">
    <div class="avatar">
      <seed-avatar [userId]="feed.userId" [lazyLoadAvatar]="feed.iconUrl"></seed-avatar>
    </div>
    <p>
      <span class="nick" [class.prime]="showMark&&feed.isEssence===1" [routerLink]="['/', feed.userId]">{{feed.nickName| truncate:10}}</span>
      <em [routerLink]="['/feed/detail', feed.feedId]">{{feed.publishTime |manageTimePipe}}</em>
      <i class="del" *ngIf="showDel" (click)="delFeed(feed.feedId)"></i>
    </p>
  </div>
  <div class="feed-content" [routerLink]="['/feed/detail', feed.feedId]">
    <p class="content-text">
      {{feed.title}}
    </p>
    <ul class="content-img seed-flexbox">
      <li *ngFor="let item of feed.feedContentRespVOS | slice:0:3"
          [class.full-width]="feed.feedContentRespVOS.length===1"
          [class.half-width]="feed.feedContentRespVOS.length===2">
        <seed-img [lazyLoadImg]="item.coverVO?.imgUrlMiddle" [background]="'true'"
                  [class.video]="item.contentType===3"></seed-img>
      </li>
    </ul>
  </div>
  <div class="feed-footer seed-flexbox seed-flexbox-content-between">
    <div>
      <p class="tag" *ngIf="showTag" [routerLink]="['/community/circle', feed.circleId]">{{feed.circleName|
        truncate:10}}</p>
    </div>
    <p [routerLink]="['/feed/detail', feed.feedId]">
      <span>浏览{{feed.clickCount }}</span>
      <span>点赞{{feed.diggCount }}</span>
    </p>
  </div>
</div>

<seed-default-graph *ngIf="!haveData" [text]="'暂无内容'" [url]="'unifyPic'"></seed-default-graph>
